package BaseDatos.DAO;

import Servidor.Modelo.Games.Game;
import Servidor.Modelo.Users.User;
import java.util.ArrayList;

/**
 * @author Angel Lopez
 */
public interface OcaDAO {
    public int insert_user(User user);
    public boolean delete_user(int id_user);
    public int modificate_user(User user);
    public User select_user(int id_user);
    public ArrayList<User> select_list_users();
    
    public int insert_game(int id_owner);
    public boolean delete_game(int id_game);
    public int update_game_date_finish();
    public int update_game_winner();
    public ArrayList<Game> select_list_games();
    
    public int insert_player(int id_game, int id_player);
    
    
}
